package com.ruoyi.member.mapper;

import com.ruoyi.member.domain.BmInorderlist;
import com.ruoyi.member.domain.BmWarehouse;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author huang
 * @Date 2023/8/11 19:30
 * @PackageName: com.ruoyi.member.mapper
 * @ClassName: SellerCancelOrder
 * @Description:
 * @Version 1.0
 */
@Mapper
public interface SellerMyOrderMapper {

    /**
    * @Description: 根据仓库编号得到仓库信息
    * @Param:
    * @return:
    * @Author: huang
    * @Date: 2023/8/12
    */
    BmWarehouse selectByWarehouseCode(String warehouseCode);

    /**
    * @Description: 得到仓库人员列表
    * @Param:
    * @return:
    * @Author: huang
    * @Date: 2023/8/12
    */
    List<Integer> getWarehouseUserList(String warehouseCode);

    /**
     * @Description: 得到物流人员列表
     * @Param:
     * @return:
     * @Author: huang
     * @Date: 2023/8/12
     */
    List<Integer> getwuliuUserList(String warehouseCode);

    /**
    * @Description: 添加订单调度
    * @Param:
    * @return:
    * @Author: huang
    * @Date: 2023/8/12
    */
    int dispatch(BmInorderlist bmInorderlist);

    List<BmInorderlist> getOrderList(int sellerId);
    List<BmInorderlist> getOrderList1(int sellerId);
    List<BmInorderlist> getOrderList2(int sellerId);
    List<BmInorderlist> getOrderList3(int sellerId);
    List<BmInorderlist> getOrderList4(int sellerId);

    int getNum(String orderCode);

    int updateWarehouseStatus(BmWarehouse bmWarehouse);

    int updateWuliuStatus(BmWarehouse bmWarehouse);
}
